﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Animation;
using System.Windows.Shapes;

using FRL.DebtChased.Silverlight.Library;

namespace FRL.DebtChased.ChaseWorkspace.ChildWindows
{

	/// <summary>
	/// Declaration of AddNoteWnd class
	/// Window for adding free-text note to account
	/// </summary>
	public partial class AddNoteWnd : ChildWindow
	{

		/////////////////////////////////////////////////////////////
		// Construction

		public AddNoteWnd()
		{

			// Load xaml resource
			InitializeComponent();

		}

		/////////////////////////////////////////////////////////////
		// Event Handlers

		private void OKButton_Click(object sender, RoutedEventArgs e)
		{

			// Confirm saving message
			if (!MessageBoxes.PopupOption("Add comment to account?"))
				return;

			// Message for user
			MessageBoxes.PopupDevMessage();

		}

		private void CancelButton_Click(object sender, RoutedEventArgs e)
		{

			// Close dialog
			this.DialogResult = false;

		}

	}

}

